Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use std::invoke_result with libcxx #382

Closed
wants to merge 1 commit into from

Conversation

ecatmur
Copy link
Contributor

@ecatmur ecatmur commented Oct 11, 2021

std::result_of is removed in clang 13 libcxx in C++20 mode per llvm/llvm-project@2ff5a56
std::invoke_result is available in libcxx since clang 7 given _LIBCPP_STD_VER > 14 (this is the form of the check in libcxx <type_traits>)

The source code in this repository is generated from an upstream repository at https://github.com/chriskohlhoff/asio.

Please consider raising new pull requests at https://github.com/chriskohlhoff/asio/pulls.

std::result_of is removed in clang 13 libcxx in C++20 mode per llvm/llvm-project@2ff5a56
std::invoke_result is available in libcxx since clang 7 given _LIBCPP_STD_VER > 14 (this is the form of the check in libcxx <type_traits>)
@ecatmur
Copy link
Contributor Author

ecatmur commented Oct 11, 2021

Closing per chriskohlhoff/asio#910

@ecatmur ecatmur closed this Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant